package com.ruoyi.gybj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息策略对象 gybj_message_strategy
 * 
 * @author ruoyi
 * @date 2025-11-19
 */
public class MessageStrategy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备类型：储罐、气体泄漏点、装卸台 */
    @Excel(name = "设备类型：储罐、气体泄漏点、装卸台")
    private String deviceType;

    /** 报警优先级：紧急、重要、一般 */
    @Excel(name = "报警优先级：紧急、重要、一般")
    private String alarmPriority;

    /** 推送类别：首推、提级 */
    @Excel(name = "推送类别：首推、提级")
    private String pushCategory;

    /** 推送范围：企业微信、站内信 */
    @Excel(name = "推送范围：企业微信、站内信")
    private String pushScope;

    /** 推送周期 */
    @Excel(name = "推送周期")
    private Long pushPeriod;

    /** 消息接收人 */
    @Excel(name = "消息接收人")
    private String receiverIds;

    /** 消息接收人 */
    @Excel(name = "消息接收人")
    private String receiverNames;

    /** 状态:1正常 0关闭 */
    @Excel(name = "状态:1正常 0关闭")
    private String status;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }

    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }

    public void setDeviceType(String deviceType) 
    {
        this.deviceType = deviceType;
    }

    public String getDeviceType() 
    {
        return deviceType;
    }

    public void setAlarmPriority(String alarmPriority) 
    {
        this.alarmPriority = alarmPriority;
    }

    public String getAlarmPriority() 
    {
        return alarmPriority;
    }

    public void setPushCategory(String pushCategory) 
    {
        this.pushCategory = pushCategory;
    }

    public String getPushCategory() 
    {
        return pushCategory;
    }

    public void setPushScope(String pushScope) 
    {
        this.pushScope = pushScope;
    }

    public String getPushScope() 
    {
        return pushScope;
    }

    public void setPushPeriod(Long pushPeriod) 
    {
        this.pushPeriod = pushPeriod;
    }

    public Long getPushPeriod() 
    {
        return pushPeriod;
    }

    public void setReceiverIds(String receiverIds) 
    {
        this.receiverIds = receiverIds;
    }

    public String getReceiverIds() 
    {
        return receiverIds;
    }

    public void setReceiverNames(String receiverNames) 
    {
        this.receiverNames = receiverNames;
    }

    public String getReceiverNames() 
    {
        return receiverNames;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("deviceName", getDeviceName())
            .append("deviceType", getDeviceType())
            .append("alarmPriority", getAlarmPriority())
            .append("pushCategory", getPushCategory())
            .append("pushScope", getPushScope())
            .append("pushPeriod", getPushPeriod())
            .append("receiverIds", getReceiverIds())
            .append("receiverNames", getReceiverNames())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
